﻿using Inovout.Memberships;
using Inovout.Organizations.Memberships.Models;
using Inovout.Organizations.Models;
using Inovout.Security;

namespace Inovout.Organizations.Memberships.Services
{
    public interface IOrganizationMembershipService
    {
        IMembershipUser Create(OrganizationUnit organizationUnit, UserCredential userCredential, MembershipUserStatus status);

        OrganizationMembership FindByUserName(string userName);
        OrganizationMembership FindByOrganizationUnit(OrganizationUnit organizationUnit);
    }
}
